package com.net2s.mail;

import javax.mail.*;

public class Autentificador extends javax.mail.Authenticator {
	private PasswordAuthentication userPass;

	public Autentificador(String user, String pass) {
		userPass = new PasswordAuthentication(user, pass);
	}

	protected PasswordAuthentication getPasswordAuthentication() {
		return userPass;
	}
}
